본문으로 건너뛰기

Sigmoid function

A mathematical function that “squishes” an input value into a constrained range, typically 0 to 1 or -1 to +1. That is, you can pass any number (two, a million, negative billion, whatever) to a sigmoid and the output will still be in the constrained range.1

The sigmoid function has several uses in machine learning, including:

Formula

The sigmoid function over an input number x has the following formula:

sigmoid(x)=11+ex

In machine learning, x is generally a weighted sum.1

Footnotes

  1. developers.google.com/machine-learning/glossary#sigmoid-function 2